import i18n from "@/locale/index";
import Layout from "@/layout/index";

export default {
    //系统管理
    path: '/system',
    redirect: '/system/staffManagement',
    meta: {
        path:'system'
    },
    component: Layout,
    children: [

        {
            //支付渠道
            path: 'payChannel',
            meta: {
                path:'system/payChannel'
            },
            component: () => import('@/views/system/payChannel/index'),
            children: [
                {
                    //线下支付渠道
                    path: 'offlinePay',
                    name:'offlinePay',
                    meta: {
                        path:'system/payChannel/offlinePay',
                    },
                    component: () => import('@/views/system/payChannel/offlinePay/index'),
                },
                {
                    //线上支付渠道
                    path: 'onlinePay',
                    name:'onlinePay',
                    meta: {
                        path:'system/payChannel/onlinePay'
                    },
                    component: () => import('@/views/system/payChannel/onlinePay/index'),
                },
            ]
        },

        {
            //机审规则
            path: 'machineRules',
            name:'machineRules',
            meta: {
                path:'system/machineRules'
            },
            component: () => import('@/views/system/machineRules/index'),
        },
        {
            //操作日志
            path: 'logManagement',
            meta: {
                path:'system/logManagement'
            },
            redirect: '/system/logManagement/operationLog',
            component: () => import('@/views/system/logManagement/index'),
            children: [
                {
                    //操作日志
                    path: 'operationLog',
                    name:'operationLog',
                    meta: {
                        path:'system/logManagement/operationLog'
                    },
                    component: () => import('@/views/system/logManagement/operationLog/index'),
                },
                {
                    //更新日志
                    path: 'updateLog',
                    name:'updateLog',
                    meta: {
                        path:'system/logManagement/updateLog'
                    },
                    component: () => import('@/views/system/logManagement/updateLog/index'),
                },
                {
                    //登录日志
                    path: 'loginLog',
                    name:'LoginLog',
                    meta: {
                        path:'system/logManagement/loginLog'
                    },
                    component: () => import('@/views/system/logManagement/loginLog/index'),
                },
            ]
        },
        {
            //用户反馈
            path: 'userFeedback',
            name:'userFeedback',
            meta: {
                path:'system/userFeedback'
            },
            component: () => import('@/views/system/userFeedback/index'),
        },
        {
            //短信列表
            path: 'smsList',
            name:'smsList',
            meta: {
                path:'system/smsList'
            },
            component: () => import('@/views/system/smsList/index'),
        },
        {
            //参数配置
            path: 'paramsConfig',
            name:'paramsConfig',
            meta: {
                path:'system/paramsConfig'
            },
            component: () => import('@/views/system/paramsConfig/index'),
        },
        {
            //排班列表
            path: 'schedulingList',
            name:'schedulingList',
            meta: {
                path:'system/schedulingList'
            },
            component: () => import('@/views/system/schedulingList/index'),
        },
        {
            //发布公告
            path: 'announcement',
            name:'announcement',
            meta: {
                path:'system/announcement'
            },
            component: () => import('@/views/system/announcement/index'),
        },
        {
            //语音群呼列表
            path: 'voiceCall',
            name:'voiceCall',
            meta: {
                path:'system/voiceCall'
            },
            component: () => import('@/views/system/voiceCall/index'),
        },
        {
            //用户标签组合
            path: 'userLabelCompose',
            name:'userLabelCompose',
            meta: {
                path:'system/userLabelCompose'
            },
            component: () => import('@/views/system/userLabelCompose/index'),
        },
    ]
}
